-- GENERATED SPELL FOR [Stanley] --


function spell0_2274(pUnit, Event) --@Savage Rage,Self--
pUnit:FullCastSpellOnTarget(3258,pUnit)
pUnit:RegisterEvent('Sorts_2274', 4337, 1)
end

function Sorts_2274(pUnit, Event)
local choix_sorts_2274 = math.random(0, 0)
if choix_sorts_2274 == 0 then
pUnit:RegisterEvent('spell0_2274', 1, 1)
end
end

function mob2274_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2274', math.random(1500, 3000), 1)
end

function mob2274_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2274_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2274_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2274, 1, 'mob2274_Action')
RegisterUnitEvent(2274, 2, 'mob2274_Leave')
RegisterUnitEvent(2274, 3, 'mob2274_Kill')
RegisterUnitEvent(2274, 4, 'mob2274_Die')
